﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace SMBCFamilyAssessment.Models
{

    [Table("AssessmentSpecification")]
    public class AssessmentSpecification
    {

       
        [ScaffoldColumn(false)]
        [Key]
        public int AssessmentSpecificationId { get; set; }
        
        [Display(Name = "Type of Assessment")]
        public int AssessmentTypeId { get; set; }

        [Display(Name = "Questionset Category")]
        public int QuestionSetId { get; set; }

        
        public virtual AssessmentType AssessmentType { get; set; }
        public virtual QuestionSet QuestionSet { get; set; }
        public int QuestionSetOrder { get; set; }

        [Display(Name = "Notes")]
        [StringLength(1000)]
        [DataType(DataType.MultilineText)]
        public string Notes { get; set; }
        [ScaffoldColumn(false)]
        public DateTime? CreatedDateTime { get; set; }
        [Display(Name = "Date Ended (DD/MM/YYYY)")]
        public DateTime? EndedDateTime { get; set; }
        [ScaffoldColumn(false)]
        public string CreatedBy { get; set; }
        [ScaffoldColumn(false)]
        public string UpdatedBy { get; set; }

      }
}